package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.ClassifyType;
import com.sc.nft.enums.OrderStatusEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class RoughStoneOrderRequest extends PageRequest {

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("订单状态 0-关闭 1-待支付 2-已付款 3-过期 4-全部订单")
    private OrderStatusEnum status;

    @ApiModelProperty(value = "商品类型 1-藏品 2-盲盒")
    private ClassifyType typeClassify;

    @ApiModelProperty("开始下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startOrderTime;

    @ApiModelProperty("结束下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endOrderTime;

    @ApiModelProperty("开始订单支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startPayTime;

    @ApiModelProperty("结束订单支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endPayTime;

    @ApiModelProperty("手机号")
    private String userTel;
}
